<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="4%">序号</th>
    <th width="10%">门店名称</th>
    <th width="8%">定金编码</th>
    <th width="8%">定金类型</th>
    <th width="8%">定金金额</th>
    <th width="8%">销售日期</th>
    <th width="8%">过期日期</th>
    <th width="8%">使用日期</th>
    <th width="8%">状态</th>
    <th width="6%">签名</th>
    <th width="12%">销售员</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.saleId!}</td>
    <td><@value type="earnestType" key="${c.earnestType!}"/></td>
    <td>${c.earnestAmount!}</td>
    <td>${c.saleDate!}</td>
    <td>${c.overDueDate!}</td>
    <td>${c.useDate!}</td>
    <td><@value type="earnestStatus" key="${c.status!}"/></td>
    <td><#if c.signStatus=1>已签<#elseif c.signStatus=2>未签<#else>--</#if></td>
    <td>${c.salesCode!}-<@value type="salesName" key="${c.salesCode!}"/><#if c.salesCode2?? && c.salesCode2?length!=0><br>${c.salesCode2!}-<@value type="salesName" key="${c.salesCode2!}"/></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
